home *** CD-ROM | disk | FTP | other *** search
/ Commodore Free 15 / Commodore_Free_Issue_15_2008_Commodore_Computer_Club.d64 / t.c< ref guide < prev    next >
Text File  |  2023-02-26  |  7KB  |  251 lines

  1. u
  2. Downloaded from
  3.  www.commodorefree.com
  4. Commodore 64 Reference Guide
  5.  
  6.  
  7. Originally compiled by:
  8. -----------------------
  9. Nigel Parker (commodore free)
  10.  www.commodorefree.com
  11. Alan Bairstow (Commodore Scene)
  12.  www.commodorescene.org.uk
  13. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  14.  
  15. COMMODORE FILE TYPES AND USES
  16. ---------------------------------------
  17. DEL                Deleted file
  18. PRG                Program file
  19. SEQ                Sequence file
  20.                     (text file)
  21. REL                Relative file
  22.                     (data file)
  23.  
  24. COMMODORE 64 BASIC DISK COMMANDS
  25. ---------------------------------------
  26. Format a new disk:
  27.  OPEN1,8,15,N0:DISKNAME,ID:CLOSE 1
  28. Load a file        LOAD FILENAME,8
  29. Load 1st disk file LOAD :*,8
  30. Load and run file  LOAD FILENAME,8,1
  31. Save a file        SAVE FILENAME,8
  32. Save and replace   SAVE @0:FILENAME,8
  33. Verify disk file   VERIFY FILENAME,8
  34. Directory listing  LOAD $,8 then LIST
  35.  
  36. Redirection        CMD
  37.  
  38. EXAMPLE:
  39. Redirect directory listing to a serial
  40.  printer:   OPEN 1,4:CMD 1:LIST:CLOSE 1
  41.  
  42. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  43.  
  44. COMMODORE 128 BASIC DISK COMMANDS
  45. ---------------------------------------
  46.  
  47. Formatting a disk  HEADER
  48.  diskname,LID,Ddrivenumber,ON,
  49.   Udevicenumber
  50. Load a file        DLOAD filename,8
  51. Saving a file      DSAVE filename,8
  52. Verifying a file   DVERIFY filename,8
  53. Disk Directory     DIRECTORY
  54.  
  55. COMMODORE DOS WEDGE DISK COMMANDS
  56. ---------------------------------------
  57. Wildcards          ? Match any char E.G
  58.             DO? could match DOG or DOC
  59.                    * Match the rest of
  60.             the name E.G D* could match
  61.             DOG or DUG
  62. Format a new disk  @NEW0:diskname,ID
  63. Save a file        <filename
  64. Load a file        /filename
  65. Load and run file  ^filename
  66. Load MC file       %filename
  67. Scratch file       @S:filename
  68. Rename             @R:newname=oldname
  69. Check disk         @
  70. Validate           @V
  71. Directory          @$
  72.  
  73. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  74.  
  75. DATEL ACTION REPLAY DISK COMMANDS
  76. ---------------------------------------
  77. Load a file            F1
  78. Load + run file        F2
  79. Load Directory         F3
  80.  
  81. List Directory         F5
  82. Run                    F7
  83.  
  84. Load a file            /filename
  85. Load +run a file       ^filename
  86. Verify file            &filename
  87. Save a file            &Filename
  88.  
  89. Save File warp         &Filename,w
  90. Read Disk error        @ or @8 or @9
  91. Initialize disk        @I
  92. Validate disk          @V
  93. Rename a file        @R:NEWNAME=OLDNAME
  94. Clear directory        @N:NAME
  95. Format a disk          @N:NAME,ID
  96. Display directory      @$ or $
  97. (Scratch) a file       @S:filename
  98. Change disk id + name  @H:NAME,ID
  99.  
  100. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  101.  
  102. JIFFY DOS DISK COMMANDS
  103. ---------------------------------------
  104. FUNCTION KEYS:
  105. F1 = @$:* Display the directory of the
  106.       currently selected device
  107. F2 = @D List a BASIC program
  108. F3 = / Load a BASIC Program
  109. F4 = @T List an ASCII text file
  110. F5 = ^ Load a BASIC program
  111. F6 = <Save a BASIC program
  112. F7 = % Load a Machine Language program
  113. F8 = @S: Scratch a file
  114.  
  115. STANDARD JiffyDOS COMMANDS:
  116. ---------------------------------------
  117. Set device @#8 Selects current drive as
  118.  device #8
  119. Display directory: @$
  120. Display directory @$:name (Display all
  121.  files with name in their filename) in
  122.  BASIC @$:N* Display all files with N
  123.  in their filename
  124.  
  125. Read error channel:     @ Returns error
  126.  code from currently selected device
  127.  
  128. RAMLink           @CPnumber Temporarily
  129.     change the default partition number
  130. Load file:              @^ Load & run
  131.     first file on disk
  132. Load + run first  Runstop + SHIFT
  133.     file on disk 
  134. / filename Loads file
  135. ^ filename Load and run file
  136. % filename Load a machine language file
  137. (British Pound Sign)filename   Load &
  138.                             Run machine
  139.                           language file
  140. Saving BASIC file:     < filename
  141. List program on disk:  @D:filename)
  142. List ASCII file:       @T:filename
  143. Un-New program:        @O
  144. Initializing drive:    @I
  145. Reset Disk Drive:      @UJ
  146. Validate Disk:         @V
  147. Format Disk:           @N:name,ID
  148. Fast format disk       @N0:
  149. Format 2 sided disk    @N2:name,i
  150. Copy file on same disk @C:newfile=file
  151. Disable head bump      @B
  152. Copy file:             @C:n=o Copy file
  153.              o to new file n, will only
  154.               work on same disk
  155. Combine text file      @C:n=o,p Create
  156.           new file n by combining files
  157.            o & p
  158. Rename file            @R:n=o Rename
  159.                  file o with filename n
  160.                   on current drive
  161. Scratch files          @S:file Deletes
  162.                       file on currently
  163.                        selected drive
  164. Lock/Unlock Files      @L:file Locks
  165.                  file so that it cannot
  166.                  be scratched  *Repeat
  167.                  command to unlock file
  168.  
  169. Output to printer      @P Repeat
  170.                  command to return
  171.                   output to screen
  172.                        @P,d,a Send to
  173.                  printer at d device, &
  174.                   a secondary address)
  175.                   a=0 (uppercase/
  176.                    graphics printing)
  177.                   a=7 (uppercase/lower
  178.                    case printing)
  179.  
  180. Print text screen       CONTROL & P
  181. Change default drive    CONTROL & D
  182.                Toggles available drives
  183. Toggle all file copy    CONTROL A
  184. Default drive toggle    CONTROL D
  185. single file for copy    CONTROL W
  186. LOAD & RUN 1st disk prog SHIFT RUN/STOP
  187.  
  188. Re-enable JiffyDOS      SYS58451
  189. Re-enable function keys SYS58551
  190. Re-enable (128 mode)    SYS65137
  191. Short new               @N:diskname
  192. Disable Jiffydos        @Q
  193. Rename a file           @R:newname=
  194.                             oldname
  195. Display disk Directory  @$
  196. Enable Function Keys    @F
  197. Set Interleave gap size @G
  198. Lock / Unlock           @L:filename
  199. Set Destination Device  @X
  200. Verify Filename         'filename
  201.  
  202. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  203.  
  204. IDE64 DISK COMMANDS
  205. ---------------------------------------
  206. FILE MANAGER
  207.  
  208. File manager            MAN
  209. Directory               1
  210. View file               3
  211. Copy file               5
  212. Rename a file           6
  213. Make directory          7
  214. Delete file             8
  215. Swap windows            CONTROL
  216. Page up                 F1 or CRSR <
  217. Home                    F2 or HOME
  218. Page down               F7 or CRSR >
  219. End                     F8 or CLR
  220. Move Cursor             CRSR up/down
  221. Select all              +
  222. Unselect all            -
  223. Select some files       INS/DEL
  224. Load and run file       RETURN
  225. Load a program          SHIFT+RETURN
  226. LOAD volume root        /
  227. Open or close CD        ^
  228. Quit application        <
  229.  
  230.  
  231. IDE64 C= BASIC COMMAND EXTENSIONS
  232. ---------------------------------------
  233. Initialize one device    INIT
  234. Initialize two devices   INIT2
  235. Change directory         CD directory
  236.                           path,DN
  237. Directory Unix style     LL path,DN
  238. Directory c64 style      DIR,DN
  239. Make directory           MKDIR
  240.                           pathname,DN
  241. Delete file              RM name,DN
  242. Print time & date        DATE
  243. Swap device numbers      CHANGE (floppy
  244.                           now device 10
  245.                          ide64 device
  246.                           now 8)
  247. Open CD tray             CDOPEN
  248. Close CD tray            CDCLOSE
  249. Deactivate IDE 64        KILL
  250.  
  251.